package com.cxso.example.request.check;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotBlank;

@Getter
@Setter
@Schema(description = "四要素认证")
public class ElementCheckRequest {


    @Schema(description = "银行卡卡号", example = "6214832788888888")
    @NotBlank(message = "银行卡卡号不能为空")
    private String bankCard;

    @Schema(description = "银行预留手机号码（四要素认证必填）", example = "13388886666")
    private String bankPreMobile;

    @Schema(description = "身份证号码（三要素认证必填）", example = "429006199103151117")
    @NotBlank(message = "身份证号码不能为空")
    private String idCardCode;

    @Schema(description = "持卡人姓名", example = "xxx")
    @NotBlank(message = "持卡人姓名不能为空")
    private String name;
}
